<?php
require_once PATH_NAME .'/utilities/sessions.php';
require_once PATH_NAME .'/views/contract/contract.php';
require_once PATH_NAME .'/includes/access.php';
require_once PATH_NAME .'/models/contract/contract.php';
class contractController{
	
	public function __construct(){}
	
	public function showContractByCustomer(){
		$user = sessions::getSession();			
		$contract = new contractView();	
		$contractModel = new contractModel();		
		
		$limit = '';
		$lists['posts'] = $contractModel->getPosts(  );
		$lists['contact'] = $contractModel->showContractByCustomer( $user['user_id'], $limit );			
		$contract->showContractByCustomer( $lists );
	}		
}
?>